/**
 * 
 */
package com.game.plaza.request;

import org.apache.mina.core.buffer.IoBuffer;

import com.game.codec.BaseRequest;

/**
 * @author lushouzhi
 *
 */
public class PlayerEnterTableRequest extends BaseRequest{
	private byte roomId;
	private byte tableId;
	private byte chairId;
	public PlayerEnterTableRequest(byte commandID) {
		super(commandID);
	}

	@Override
	public void setBody(IoBuffer buffer) {
		
	}

	public byte getRoomId() {
		return roomId;
	}

	public byte getTableId() {
		return tableId;
	}

	public byte getChairId() {
		return chairId;
	}
	
	/**
	 * 
	 * @return
	 */
	public String getSiteKey(){
		return gameType+"-"+roomId+"-"+tableId+"-"+chairId;
	}
}
